<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SYMMETRY: http_server::cHttpServer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SYMMETRY
   </div>
   <div id="projectbrief">CUSTOMHTTPSERVERFORTHESYMMETRYFRAMEWORK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classhttp__server_1_1cHttpServer.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classhttp__server_1_1cHttpServer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">http_server::cHttpServer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="http__server_8h_source.html">http_server.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for http_server::cHttpServer:</div>
<div class="dyncontent">
<div class="center"><img src="classhttp__server_1_1cHttpServer__inherit__graph.png" border="0" usemap="#http__server_1_1cHttpServer_inherit__map" alt="Inheritance graph"/></div>
<map name="http__server_1_1cHttpServer_inherit__map" id="http__server_1_1cHttpServer_inherit__map">
</map>
</div>
<div class="dynheader">
Collaboration diagram for http_server::cHttpServer:</div>
<div class="dyncontent">
<div class="center"><img src="classhttp__server_1_1cHttpServer__coll__graph.png" border="0" usemap="#http__server_1_1cHttpServer_coll__map" alt="Collaboration graph"/></div>
<map name="http__server_1_1cHttpServer_coll__map" id="http__server_1_1cHttpServer_coll__map">
<area shape="rect" id="node3" href="classhttp__server_1_1cConnectionManager.html" title="{http_server::cConnection\lManager\n||+ StartConnection()\l+ StopConnection()\l+ StopAllConnections()\l}" alt="" coords="132,446,311,567"/><area shape="rect" id="node6" title="STL class. " alt="" coords="288,147,387,224"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab860b9308bed0345da118105585098ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhttp__server_1_1cHttpServer.html#ab860b9308bed0345da118105585098ba">cHttpServer</a> (unsigned int port, const std::string &amp;web_pages_path, const std::string &amp;presentations_path)</td></tr>
<tr class="separator:ab860b9308bed0345da118105585098ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4699b20627615aee961a06eae97fb89"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4699b20627615aee961a06eae97fb89"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Start</b> ()</td></tr>
<tr class="separator:ad4699b20627615aee961a06eae97fb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c7bcb8fb8ca1aa5fe26d00c94c11835"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c7bcb8fb8ca1aa5fe26d00c94c11835"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Stop</b> ()</td></tr>
<tr class="separator:a2c7bcb8fb8ca1aa5fe26d00c94c11835"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:abec1513422a3b70b8c3684f4dc8c6271"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abec1513422a3b70b8c3684f4dc8c6271"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>StartAccept</b> ()</td></tr>
<tr class="separator:abec1513422a3b70b8c3684f4dc8c6271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfe4c5b575c0e94174a64d228f152d46"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfe4c5b575c0e94174a64d228f152d46"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>HandleConnection</b> (connection_ptr new_connection, const boost::system::error_code &amp;error)</td></tr>
<tr class="separator:adfe4c5b575c0e94174a64d228f152d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae02a73720c1b0fa45b787ef0cecacb6c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae02a73720c1b0fa45b787ef0cecacb6c"></a>
boost::asio::io_service&#160;</td><td class="memItemRight" valign="bottom"><b>m_IOService</b></td></tr>
<tr class="separator:ae02a73720c1b0fa45b787ef0cecacb6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d4db5bec75f0594e81403e8659ec2a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2d4db5bec75f0594e81403e8659ec2a0"></a>
boost::asio::ip::tcp::acceptor&#160;</td><td class="memItemRight" valign="bottom"><b>m_Acceptor</b></td></tr>
<tr class="separator:a2d4db5bec75f0594e81403e8659ec2a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87a2959bcad40f733bb9bd79f03bc017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87a2959bcad40f733bb9bd79f03bc017"></a>
<a class="el" href="classhttp__server_1_1cConnectionManager.html">cConnectionManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_ConnectionManager</b></td></tr>
<tr class="separator:a87a2959bcad40f733bb9bd79f03bc017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6332aa8cd965ba14ee125d90e309c483"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6332aa8cd965ba14ee125d90e309c483"></a>
boost::asio::signal_set&#160;</td><td class="memItemRight" valign="bottom"><b>m_Signals</b></td></tr>
<tr class="separator:a6332aa8cd965ba14ee125d90e309c483"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>class that implements a http server using BOOST ASIO </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab860b9308bed0345da118105585098ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">http_server::cHttpServer::cHttpServer </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>web_pages_path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>presentations_path</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>initializes members and prepares for accepting connections </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="http__server_8h_source.html">http_server.h</a></li>
<li>http_server.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>http_server</b></li><li class="navelem"><a class="el" href="classhttp__server_1_1cHttpServer.html">cHttpServer</a></li>
    <li class="footer">Generated on Tue Feb 25 2014 17:12:15 for SYMMETRY by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
